package cn.iocoder.yudao.module.trade.controller.admin.brokerage.vo.log;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.*;

import java.math.BigDecimal;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 佣金操作日志分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class BrokerageLogPageReqVO extends PageParam {

    @Schema(description = "操作的用户编号", example = "27873")
    private Long userId;

    @Schema(description = "真实姓名", example = "李四")
    private String userName;

    @Schema(description = "应支付金额", example = "27641")
    private BigDecimal payPrice;

    @Schema(description = "提现手续费", example = "15294")
    private BigDecimal feePrice;

    @Schema(description = "操作总佣金", example = "20234")
    private BigDecimal totalPrice;

    @Schema(description = "提现类型：0-扫码", example = "1")
    private Integer type;

    @Schema(description = "收款码", example = "https://www.iocoder.cn")
    private String accountQrCodeUrl;

    @Schema(description = "状态：1 - 支付成功；2-支付失败", example = "2")
    private Integer status;

    @Schema(description = "操作所有记录ID")
    private List<Integer> records;

    @Schema(description = "备注", example = "你猜")
    private String remark;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "后台管理员账号", example = "李四")
    @ExcelProperty("后台管理员账号")
    private String creatorName;

    @Schema(description = "结算条数",  example = "11")
    private Integer creatorNum;
}